<%@ Page Language="C#" MasterPageFile="~/HUD.master" AutoEventWireup="true" CodeFile="testkeys.aspx.cs" Inherits="testkeys" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
document.onkeydown = keyDown;

function keyDown(oEvent){
    var oEvent = (oEvent)? oEvent : event;
  var oTarget =(oEvent.target)? oEvent.target : oEvent.srcElement;
  if(oTarget.type=="text" && oEvent.keyCode==13) 
    //return false;
    oEvent.keyCode = 9;
    alert(oEvent.keyCode);
    }
    

</script>
</asp:Content>

